﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using M2B.GestionEntretiens.Contracts;
using M2B.GestionEntretiens.POCOS;

namespace M2B.GestionEntretiens.Models
{
    public class HomeModel
    {
        #region Properties

        private ICandidatsService _candidatsService;
        /// <summary>
        /// La liste des traitements
        /// </summary>
        public List<Traitement> Traitements { get; set; }


        #endregion

        #region Constructeurs

        public HomeModel(ICandidatsService candidatsService)
        {
            _candidatsService = candidatsService;
          
            Traitements = new List<Traitement>();
            Traitements.Add(new Traitement() { Code = "Candidats", CodeModule = "Parametrage", Libelle = "Candidats", LibelleReduit = "Candidats", Ordre = 1, Color = "#e3b601" });
            Traitements.Add(new Traitement() { Code = "Entretiens", CodeModule = "Parametrage", Libelle = "Entretiens", LibelleReduit = "Entretiens", Ordre = 2, Color = "#9bc95c" });
            Traitements.Add(new Traitement() { Code = "Tests", CodeModule = "Parametrage", Libelle = "Tests", LibelleReduit = "Tests", Ordre = 3, Color = "#3b87dc" });
            Traitements.Add(new Traitement() { Code = "Questions", CodeModule = "Parametrage", Libelle = "Questions", LibelleReduit = "Questions", Ordre = 3, Color = "#9bc95c" });
        }
        #endregion
    }
}